package com.ruoyi.wareManagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 移库查询对象 migration_query
 * 
 * @author admin
 * @date 2024-07-01
 */
public class MigrationQuery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 移库查询id */
    private Long migrationId;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String materialNumber;

    /** 来源仓库 */
    @Excel(name = "来源仓库")
    private String sourceWarehouse;

    /** 来源库位 */
    @Excel(name = "来源库位")
    private String sourceRepositoryLocation;

    /** 目标仓库 */
    @Excel(name = "目标仓库")
    private String targetWarehouse;

    /** 目标库位 */
    @Excel(name = "目标库位")
    private String targetRepositoryLocation;

    public void setMigrationId(Long migrationId) 
    {
        this.migrationId = migrationId;
    }

    public Long getMigrationId() 
    {
        return migrationId;
    }
    public void setMaterialNumber(String materialNumber) 
    {
        this.materialNumber = materialNumber;
    }

    public String getMaterialNumber() 
    {
        return materialNumber;
    }
    public void setSourceWarehouse(String sourceWarehouse) 
    {
        this.sourceWarehouse = sourceWarehouse;
    }

    public String getSourceWarehouse() 
    {
        return sourceWarehouse;
    }
    public void setSourceRepositoryLocation(String sourceRepositoryLocation) 
    {
        this.sourceRepositoryLocation = sourceRepositoryLocation;
    }

    public String getSourceRepositoryLocation() 
    {
        return sourceRepositoryLocation;
    }
    public void setTargetWarehouse(String targetWarehouse) 
    {
        this.targetWarehouse = targetWarehouse;
    }

    public String getTargetWarehouse() 
    {
        return targetWarehouse;
    }
    public void setTargetRepositoryLocation(String targetRepositoryLocation) 
    {
        this.targetRepositoryLocation = targetRepositoryLocation;
    }

    public String getTargetRepositoryLocation() 
    {
        return targetRepositoryLocation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("migrationId", getMigrationId())
            .append("materialNumber", getMaterialNumber())
            .append("sourceWarehouse", getSourceWarehouse())
            .append("sourceRepositoryLocation", getSourceRepositoryLocation())
            .append("targetWarehouse", getTargetWarehouse())
            .append("targetRepositoryLocation", getTargetRepositoryLocation())
            .append("remark", getRemark())
            .toString();
    }
}
